﻿using System;

namespace studentSubsidy.Entity.Home
{
    public class CategoryReturn
    {
        private int categoryId;
        private string categoryName;
        private string categoryType;

        public CategoryReturn(int categoryId, string categoryName, string categoryType)
        {
            this.categoryId = categoryId;
            this.categoryName = categoryName;
            this.categoryType = categoryType;
        }

        public int category_id
        {
            get => categoryId;
            set => categoryId = value;
        }

        public string category_name
        {
            get => categoryName;
            set => categoryName = value ?? throw new ArgumentNullException(nameof(value));
        }

        public string category_type
        {
            get => categoryType;
            set => categoryType = value ?? throw new ArgumentNullException(nameof(value));
        }
    }
}